package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.Patient;
import com.ruoyi.system.mapper.PatientMapper;
import com.ruoyi.system.service.PatientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PatientServiceImpl implements PatientService {
    @Autowired
    private PatientMapper patientMapper;

    @Override
    public Patient selectPatientById(Long patientId) {
        return patientMapper.selectPatientById(patientId);
    }
}
